import React from 'react';
import { Button } from 'antd';
import cn from 'classnames';
import styles from './index.less';

const CustomButton = ({ children, className, ...rest }) => (
    <Button className={cn(styles.customBtn, className)} {...rest}>
        {children}
    </Button>
);

export default CustomButton;
